package com.yuyang.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuyang.gulimall.product.entity.SkuInfoEntity;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

import com.yuyang.common.utils.PageUtils;
import com.yuyang.gulimall.product.vo.SkuItemVo;

/**
 * sku信息
 *
 * @author yuyang
 * @email yuyang@gmail.com
 * @date 2022-11-21 21:46:30
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPageByCondition(Map<String, Object> params);

    List<SkuInfoEntity> getSkuListBySpuId(Long spuId);

    SkuItemVo getSkuItem(Long skuId) throws ExecutionException, InterruptedException;

}

